<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); ?>
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="icon" href="../favicon.ico">

    <title>聚惠家后台管理登陆</title>

    <!-- Bootstrap core CSS -->
    <link rel="stylesheet" href="http://cdn.bootcss.com/twitter-bootstrap/3.0.3/css/bootstrap.min.css">

    <!-- Custom styles for this template -->
    <!--<link href="../../css/admin/signin.css" rel="stylesheet">-->
  </head>

  <body>
    <div class="container form-signin">
        <?php echo form_open('admin/login'); ?>
        <span class="errorMessage">
          <?php echo validation_errors(); ?>
        </span>
        <h2 class="form-signin-heading">后台管理登陆</h2>
        <input id="user" type="text" name="username" class="form-control" placeholder="账户名" required autofocus>
        <input id="password" type="password" name="password" class="form-control" placeholder="密码" required>
        <button type="submit" id="login_submit" class="btn btn-lg btn-primary btn-block">登陆</button>
      </form>
    </div> 
  </body>
</html>

